'use strict';
exports = module.exports = function($scope, $ajax) {
    $scope.roles2 = [
        {id: "1", text: '门店管理'}, {id: "2", text: '会员卡管理'}, 
        {id: "3", text: '课程管理'}, {id: "4", text: '数据汇总'}
    ];
    $scope.roles3 = [
        {id: 1, text: '门店管理'}, {id: 2, text: '会员卡管理'}, 
        {id: 3, text: '课程管理'}, {id: 4, text: '数据汇总'}
    ];
    $scope.user2 = "1"
    $scope.user3 = "1"
    $scope.obj = {}
    $scope.obj.user3 = "1"
    $scope.obj.user4 = 1
    $scope.obj.user5 = [0,0,1,1]
    $scope.obj.user22 = {}
    $scope.user24 = {a:false,b:false}
    $scope.o66 = function(){
        if( $scope.user24.b ) $scope.user24.a = !$scope.user24.a
        else{ alert("无权") }
    }
}